package com.example.demo_music;

import java.text.SimpleDateFormat;
import java.util.TimeZone;

public class Music {
    public String artist;//歌手
    public String title;//歌名
    public long duration;//时长
    public String data;//路径
    public Music() {

    }
    public  Music(String artist, String title, long duration, String data){
        this.artist = artist;
        this.title = title;
        this.duration = duration;
        this.data = data;
    }
    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public long getDuration() {
        return duration;
    }

    public void setDuration(long duration) {
        this.duration = duration;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getArtist() {
        return artist;
    }

    public void setArtist(String artist) {
        this.artist = artist;
    }

}
